<?php
/**
 * Video Adapter Factory
 *
 * Video adapter facotry class  
 *
 * @category   Core
 * @package    Core_Video
 * @copyright 
 * @author     Sandeep Manne<sandeep.manne@costrategix.com>
 */

class Core_Video_Adapter
{
	const ADAPTER_FFMPEG = "FFMPEG";
	
	public static function factory($adapter)
	{
		switch($adapter) {
			
			case self::ADAPTER_FFMPEG: 
				return new Core_Video_Adapter_Ffmpeg();
				break;
				
			default:
				throw new Exception('Invalid adapter selected.');
                break;
		}	
	}
}